/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Menu.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.*;
import stti.model.SesionSTTI;


/**
 *
 * @author stti
 */
public class Menu extends Action{
    	public ActionForward execute(ActionMapping mapping,
			ActionForm form,
			HttpServletRequest request,
			HttpServletResponse response)
        {
                try
                {   
                    SesionSTTI sesion = (SesionSTTI)request.getSession(false).getAttribute("sesionSTTI");
                    return mapping.findForward("Menu");
                }
                catch(Exception e)
                {
                    return mapping.findForward("Index");
                }
        }
}
